package com.example.service;

import com.alibaba.fastjson.JSONObject;
import com.example.pojo.NewPhoto;
import com.example.pojo.OldPhoto;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Map;


@Service
public interface OldPhotoService {


    Object uploadPath(MultipartFile file) throws IOException;
    /**
     * 插入照片
     */
    Object addPhoto(JSONObject json,String url);
    /**
     * 删除单张照片
     */
    void deletePhoto(Map<String, Object> photo);
}
